home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / CMaster Demo v2.0.3 / Documents / Variables < prev    next >
Encoding:
Text File  |  1994-08-17  |  2.3 KB  |  56 lines  |  [TEXT/ttxt]

  1. DateShort
  2. The System’s short date string as obtained by calling “IUDateString”.
  3.  
  4. DateLong
  5. The System’s long date string as obtained by calling “IUDateString”.
  6.  
  7. DateAbr
  8. The System’s abbreviated date string as obtained by calling “IUDateString”.
  9.  
  10. TimeNoSec
  11. The System’s time string without seconds as obtained by calling “IUTimeString”.
  12.  
  13. TimeSec
  14. The System’s time string with seconds as obtained by calling “IUTimeString”.
  15.  
  16. strftime(%m/%d/%y)
  17. The ANSI time formatting routine—see the strftime section in THINK’s Standard Libraries Manual. Note that you must provide the string contained within the parentheses—see the THINK manual.
  18.  
  19. FileName
  20. The file name of the current window, the same as the name shown in the title bar.
  21.  
  22. FileFullName
  23. The file name and path of the current window, with ‘:’ separating directories. For example, “YrKdng:Development:fred.c”.
  24.  
  25. UserName
  26. The System uses STR ID -16096 as this Mac’s “Owner’s Name.” You set this in the “Sharing Setup” control panel.
  27.  
  28. ComputerName
  29. The System uses STR ID -16413 as the “Macintosh Name.” You set this in the “Sharing Setup” control panel.
  30.  
  31. FunctionName
  32. CMaster attempts to find the name of the function where the caret now resides, and uses that name—otherwise it returns an empty string.
  33.  
  34. FunctionPrototype
  35. CMaster attempts to find the name of the function where the caret now resides, and if found computes the prototype for that function and uses that—otherwise it returns an empty string.
  36.  
  37. Class
  38. CMaster attempts to find the name of the function where the caret now resides, and if found looks to see if there is both a class and method. If so, it uses the class name—otherwise, it returns an empty string.
  39.  
  40. Method
  41. CMaster attempts to find the name of the function where the caret now resides, and if found looks to see if there is both a class and method. If so, it uses the method name—otherwise, it returns an empty string.
  42.  
  43. ProjectName
  44. Returns the name of the current project, as shown in the project window.
  45.  
  46. ProjectFullName
  47. Returns the path and name of the current project, as shown in the project window. For example, “YrKdng:CMaster 2:cm.pie.”
  48.  
  49. ThinkScrap
  50. Returns the text currently pasted into the THINK clipboard.
  51.  
  52. Selection
  53. Returns the text currently selected in the foremost window, or if no selection, nothing.
  54.  
  55. LineNumber
  56. Returns the line number (counting from 1) containing the caret, or the start of a selection.